
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<!-- RichFaces tag library declaration -->
<%@taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@taglib uri="http://richfaces.org/rich" prefix="rich"%>



	<html>
		<head>
			<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
			<title>${artifactId} Project Artifact in Action</title>			
		</head>
		<body>
		 <f:view>
			<h1>Richfaces ${artifactId} Project Demo</h1>
			<h:form>  
			    <div align="center">
			    <rich:spacer width="1" height="50" />
				<rich:panel style="width:320px;">
				<f:facet name="header">
				  <h:outputText value="You Name please"></h:outputText>
                </f:facet>
                 <h:panelGrid columns="2">
                 <rich:inplaceInput defaultLabel="Your Name: " />
                 
                 <h:inputText value="#{demoPage1.message }" />
                 
                 <h:outputText id="out1" value="#{demoPage1.message }" />
                 <a4j:commandButton value="Convert to UpperCase" action="#{demoPage1.upperCase }" reRender="out1"/>
                 
                 </h:panelGrid>

                </rich:panel>
                </div>
			 
			</h:form>	
		</body>
	</html>
</f:view>

